import { BaseTimer } from "./BaseTimer";
import { FrameManager } from "./FrameManager";
//class SecTimer

    export  class SecTimer extends BaseTimer
    {
        constructor(arg1: number=1, arg2: number=2147483647)
        {
            super(arg1, arg2);
            return;
        }

        public /* override */ start(): void
        {
            super.start();
            if (!isTimerQueue) 
            {
                isTimerQueue = true;
                FrameManager.timerFrame.addTimer(this);
            }
            return;
        }
    }
